package com.bowen.chapter03;

public class ZProgramApe {

    /**
     * 程序猿名字
     */
    private String name;

    /**
     * bug数量
     */
    private int bugCount;

    public ZProgramApe(String name, int bugCount) {
        this.name = name;
        this.bugCount = bugCount;
        if (this.isExcellentStaff()) {
            this.assignCar();
        }
    }

    private boolean isExcellentStaff() {
        return this.bugCount > 10000;
    }

    private void assignCar() {
    }
}
